<script setup>
import ConmonAsideVue from "../components/ConmonAside.vue";
import ConmonHeaderVue from "../components/ConmonHeader.vue";
import { RouterView } from 'vue-router'



</script>

<template>

  <div class="common-layout">
    <el-container class="el-container">
      <el-aside width="200px" class="aside" ><ConmonAsideVue></ConmonAsideVue></el-aside>
      <el-container>
        <el-header class="header"><ConmonHeaderVue></ConmonHeaderVue></el-header>
        <el-main class="main" ref="container"><router-view class="routerview"></router-view></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="scss" scoped>
.routerview{
  width: 100%;
  height: 100%;
}
.mian{
  padding: 0px;
}
// html,body,#app,.el-container{
//   margin: 0;
//   padding: 0;
//   height:100%;
// }
// .common-layout{
//   height: 100%;
// }
</style>